#include "DataStructure/Input/Element/CELAS1Data.h"

using namespace SG::DataStructure;

/// @brief 判断两个CELAS1Data是否相等
/// @param a
/// @param b
/// @return
bool SG::DataStructure::FEM::operator== (const CELAS1Data& a, const CELAS1Data& b)
{
    if (a.m_id != b.m_id)
    {
        return false;
    }
    if (a.m_pId != b.m_pId)
    {
        return false;
    }
    if (a.m_c1 != b.m_c1)
    {
        return false;
    }
    if (a.m_c2 != b.m_c2)
    {
        return false;
    }
    if (a.m_g[0] != b.m_g[0])
    {
        return false;
    }
    if (a.m_g[1] != b.m_g[1])
    {
        return false;
    }
    if (a.m_domainId != b.m_domainId)
    {
        return false;
    }
    return true;
}